package com.itheima.charstream;

import java.io.FileWriter;
import java.io.IOException;
/*
演示flush 和close 区别
 */
public class Demo01 {

    public static void main(String[] args) throws IOException {
        FileWriter writer = new FileWriter("day13\\abc.txt");
        writer.write("adsfgsdafgsdfgsd");
       writer.flush();
        //writer.close();
        while (true) {
        }
    }
}
